import { axios } from '@/utils/request'

export function getBloodList(bloodform,currentpage,pagesize) {
    return axios({
      url: '/blood/getBloodList',
      method: 'post',
      data:{'blood':bloodform,'currentPage':currentpage,'pageSize':pagesize}
    })
}

export function getTableInfo(sourceTable,databaseName,tableform,currentpage,pageSize){
  return axios({
    url: '/blood/getTableInfo',
    method: 'post',
    data:{'sourceTable':sourceTable,'databaseName':databaseName,'tableform':tableform,'current':currentpage,'size':pageSize}
  })
}